package com.ygqh.baby.mapper;
import com.ygqh.baby.po.YgPreSaleLogs;
import com.ygqh.baby.po.YgPreSaleLogsExample;
import com.ygqh.baby.ao.QueryInfo;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface YgPreSaleLogsMapper {
    int countByExample(YgPreSaleLogsExample example);

    int deleteByExample(YgPreSaleLogsExample example);

    int deleteByPrimaryKey(Long id);

    int insert(YgPreSaleLogs record);

    int insertSelective(YgPreSaleLogs record);

    List<YgPreSaleLogs> selectByExample(YgPreSaleLogsExample example);

    YgPreSaleLogs selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") YgPreSaleLogs record, @Param("example") YgPreSaleLogsExample example);

    int updateByExample(@Param("record") YgPreSaleLogs record, @Param("example") YgPreSaleLogsExample example);

    int updateByPrimaryKeySelective(YgPreSaleLogs record);

    int updateByPrimaryKey(YgPreSaleLogs record);
    
    int countSuper(@Param ("q") String q);
    
    List<YgPreSaleLogs> selectSuper(@Param("queryInfo") QueryInfo queryInfo, @Param ("q") String q);
    
}



